<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>接口测试工具</title>
    <link rel="stylesheet" href="static/css/APITest.css">
</head>
<link rel="stylesheet" type="text/css" href="static/css/APITest.css">
<body>
<div id="cqr">
    <div class="form">
        <h2>接口测试工具</h2>
        <ul>
            <li><span>接口地址:</span><input type="text" v-model="APIaddress"></li>
            <li><span>发送数据方式:</span><input type="text" v-model="type"></li>
            <li><span>接收数据类型:</span><input type="text" v-model="dataType"></li>
            <li><span>发送数据：</span><input type="text" v-model="data"></li>
        </ul>
        <button v-on:click="submit()">测试</button>
        <textarea rows="10" cols="60">{{message}}</textarea>
    </div>
</div>
</body>
<script src="static/js/jquery-3.3.1.min.js"></script>
<script src="static/js/vue.js"></script>
<script src="static/js/APITest.js"></script>
</html>
